package com.studio49.exmple.entity.appInterface.appUser;

import com.studio49.exmple.core.annotation.Validate;

public class OpenidLoginReqEntity {

	/**
	 * openid
	 */
	@Validate(notBlank = true)
	private String openId;
	
//	/**
//	 * 登录角色,1:教师;2:家长
//	 */
//	@Validate(notBlank = true, paramsRange = {"1", "2"})
//	private Integer role;

	/**
	 * 用户昵称
	 */
	private String userName;
	

//	public Integer getRole() {
//		return role;
//	}
//
//	public void setRole(Integer role) {
//		this.role = role;
//	}


	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}
